﻿using Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Repository
{
    public  class Tracetothesourcedbcontext:DbContext
    {

        public Tracetothesourcedbcontext(DbContextOptions options) : base(options)
        {

        }
        public virtual DbSet<Source> Source {  get; set; }//溯源表
        public virtual DbSet<Aquaculture> Aquaculture {  get; set; }//养殖信息
        public virtual DbSet<BreedingbrandTable> BreedingbrandTable {  get; set; }//饲料品牌表
        public virtual DbSet<Commodity> Commodity {  get; set; }//商品表
        public virtual DbSet<OrightTable> OrightTable {  get; set; }//来源表
        public virtual DbSet<VarietyTable> VarietyTable { get; set; }//品种表
    }
  
   

}
